#!/usr/bin/env node

const cp = require('child_process');

cp.exec('cat data.txt | sort | uniq', (error, out, err)=>{
  if(error) {
    console.error(err.toString('utf8'));
  } else {
    console.log(out.toString('utf8'));
  }
})
